package entitymanagers;

import javax.ejb.Local;

import model.Citizen;
import dto.CitizenDTO;

@Local
public interface CitizenManager {
		void addCitizen(CitizenDTO citizen);
		CitizenDTO[] getCitizens();
		CitizenDTO getCitizensByEmail(String email);
		CitizenDTO getCitizensAlreadyVoted();
		CitizenDTO getCitizen();
		CitizenDTO getPrincipal();
		
		void unregister();
		void update(CitizenDTO citizen);
		Citizen getPrincipalCitizen();
}
